package com.qfjy.mapper;

import com.qfjy.entity.MeetingType;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface MeetingTypeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MeetingType record);

    int insertSelective(MeetingType record);

    MeetingType selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MeetingType record);

    int updateByPrimaryKey(MeetingType record);


      @Select("select * from meetingtype where status=1 ORDER BY sortnum asc")
     List<MeetingType> selectMeetingTypeByStautsSortNumAsc();
}